#ifndef _TCP_DRV_H_
#define _TCP_DRV_H_

#define TCP_TEST_IP     "36.137.226.30"
#define TCP_TEST_PORT   43905
#define TCP_IP     "118.190.154.29"
#define TCP_DOMAIN "pmkcx.cn"
#define TCP_PORT_STR   "20006"
#define TCP_PORT        20006
#define IP_MAX_LEN     20

typedef  int Socket_t;

esp_err_t TCP_Connect(void);
esp_err_t TCP_Send(uint8_t *data, int len);
void TCP_Recv_Task(void *param);
uint8_t *GetUrl(void);
void Disconnect_TCP(void);
extern SemaphoreHandle_t xSemTcpRecvNone;

#endif